﻿using System;
using System.Collections.Generic;

namespace Rj_GsInsurance.Server.DataBaseContext.Entities
{
    public partial class Mdc2ZyOrdersView
    {
        public string Hiscode { get; set; } = null!;
        public int? Cid { get; set; }
        public int? Patientid { get; set; }
        public int? Visitid { get; set; }
        public long? Patcode { get; set; }
        public int? Prescno { get; set; }
        public int? Orderno { get; set; }
        public int Ordertype { get; set; }
        public int? Grouptag { get; set; }
        public int IsTemp { get; set; }
        public string? DrugUniqueCode { get; set; }
        public int? Ordercode { get; set; }
        public string? Ordername { get; set; }
        public string? Drugform { get; set; }
        public string? Drugspec { get; set; }
        public int? Routecode { get; set; }
        public string? Routename { get; set; }
        public string? Singledose { get; set; }
        public string? Doseunit { get; set; }
        public string? Frequency { get; set; }
        public decimal? Num { get; set; }
        public string? Numunit { get; set; }
        public string Ph { get; set; } = null!;
        public string Taker { get; set; } = null!;
        public string Taketime { get; set; } = null!;
        public int? Doctorcode { get; set; }
        public string? Doctorname { get; set; }
        public int? Deptcode { get; set; }
        public string? Deptname { get; set; }
        public int? Wardcode { get; set; }
        public string? Wardname { get; set; }
        public string Medgroupcode { get; set; } = null!;
        public string Medgroupname { get; set; } = null!;
        public string Executetime { get; set; } = null!;
        public int Executenum { get; set; }
        public DateTime? Startdatetime { get; set; }
        public DateTime? Enddatetime { get; set; }
        public int Purpose { get; set; }
        public int IsOut { get; set; }
        public int IsAllow { get; set; }
        public string ReasonableDesc { get; set; } = null!;
        public int Meditime { get; set; }
        public int? PharmReviewid { get; set; }
        public string? PharmReview { get; set; }
        public string PharmMixid { get; set; } = null!;
        public string PharmMix { get; set; } = null!;
        public int? IsEmergency { get; set; }
        public string? Driprate { get; set; }
        public string Driptime { get; set; } = null!;
        public int? Duration { get; set; }
        public int Doctorpriv { get; set; }
        public string DruguseReason { get; set; } = null!;
        public string LiquidConfiguration { get; set; } = null!;
        public string ConfirmTime { get; set; } = null!;
        public string Druguseorder { get; set; } = null!;
        public string DrugCompatibility { get; set; } = null!;
        public string InfusionDuration { get; set; } = null!;
        public int? Exedeptcode { get; set; }
        public string? Exedeptname { get; set; }
        public string Requestno { get; set; } = null!;
        public string? Remark { get; set; }
        public int? Firstdayfreq { get; set; }
        public string Decoction { get; set; } = null!;
        public string Dosetype { get; set; } = null!;
        public string Ipayclass { get; set; } = null!;
        public int? Enddayfreq { get; set; }
        public int Isgetmedorder { get; set; }
        public int IsHosprepare { get; set; }
        public int? Pharmacycode { get; set; }
    }
}
